package com.helsinki.mapper;

import com.helsinki.pojo.Traveller;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TravellerMapper {
    @Select("select * from traveller where id in " +
            "(select travellerId from order_traveller where orderId= #{orderId})")
    List<Traveller> findByOrderId(String orderId);
}
